package org.magneato.dto;

/**
 * Used for registration
 * 
 * @author david
 */
public class Registration {
	private String username;
	private String email;
	private String password;
	private String passwordConfirmation;
	private boolean acceptTerms = false;
	private boolean enabled = true;
	private String referer;
	private String ip;
	
	
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getReferer() {
		return referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPasswordConfirmation() {
		return passwordConfirmation;
	}

	public void setPasswordConfirmation(String passwordConfirmation) {
		this.passwordConfirmation = passwordConfirmation;
	}

	public boolean isAcceptTerms() {
		return acceptTerms;
	}

	public void setAcceptTerms(boolean acceptTerms) {
		this.acceptTerms = acceptTerms;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	@Override
	public String toString() {
		return "User [acceptTerms=" + acceptTerms + ", email=" + email
				+ ", enabled=" + enabled + ", password=" + password
				+ ", passwordConfirmation=" + passwordConfirmation
				+ ", username=" + username + "]";
	}
}
